package com.alibaba.csp.sentinel.dashboard.rule;

/**
* @Description: TODO
* @author blueice
* @date 2021年3月25日 下午2:50:49
*
*/
public interface DynamicRuleConstants
{
    String SUPPORT_DEFAULT = "default";
    String SUPPORT_REDIS = "redis";
    String SUPPORT_NACOS = "nacos";
    
    String PROPERTY_PREFIX = "sentinel.datasource";
    String FLOW_STORE = "flow-rules-store";
    String PARAM_STORE = "param-rules-store";
    String DEGRADE_STORE = "degrade-rules-store";
    String AUTHORITY_STORE = "authority-rules-store";
    String SYSTEM_STORE = "system-rules-store";
    
    String FLOW_DATA_ID_POSTFIX = "-flow-rules";
    String PARAM_FLOW_DATA_ID_POSTFIX = "-param-rules";
    String DEGRADE_DATA_ID_POSTFIX = "-degrade-rules";
    String AUTHORITY_DATA_ID_POSTFIX = "-authority-rules";
    String SYSTEM_DATA_ID_POSTFIX = "-system-rules";
    String CLUSTER_MAP_DATA_ID_POSTFIX = "-cluster-map";

    /**
     * cc for `cluster-client`
     */
    String CLIENT_CONFIG_DATA_ID_POSTFIX = "-cc-config";
    /**
     * cs for `cluster-server`
     */
    String SERVER_TRANSPORT_CONFIG_DATA_ID_POSTFIX = "-cs-transport-config";
    String SERVER_FLOW_CONFIG_DATA_ID_POSTFIX = "-cs-flow-config";
    String SERVER_NAMESPACE_SET_DATA_ID_POSTFIX = "-cs-namespace-set";
}
